home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
8206
/
8206.xpi
/
content
/
editorOverlay.xul
< prev
next >
Wrap
Extensible Markup Language
|
2010-02-02
|
12KB
|
176 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://wisestamp/skin/editor/editor.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://wisestamp/locale/prefwindow.dtd">
<overlay id="overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="chrome://wisestamp/content/editor.js"/>
<popupset id="optionsPopupset">
<popup id="colorpicker" position="after_start"
onpopupshowing="return WiseStampEditors.colorPickerShowing(event);"
onpopuphiding="WiseStampEditors.colorPickerHiding(event);"
>
<grid id="colorpicker-grid" onclick="WiseStampEditors.colorPickerClick(event);">
<columns>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row>
<box id="#FFFFFF" style="background-color: #FFFFFF;" width="20" height="20"/>
<box id="#FFCCCC" style="background-color: #FFCCCC;" width="20" height="20"/>
<box id="#FFCC99" style="background-color: #FFCC99;" width="20" height="20"/>
<box id="#FFFF99" style="background-color: #FFFF99;" width="20" height="20"/>
<box id="#FFFFCC" style="background-color: #FFFFCC;" width="20" height="20"/>
<box id="#99FF99" style="background-color: #99FF99;" width="20" height="20"/>
<box id="#99FFFF" style="background-color: #99FFFF;" width="20" height="20"/>
<box id="#CCFFFF" style="background-color: #CCFFFF;" width="20" height="20"/>
<box id="#CCCCFF" style="background-color: #CCCCFF;" width="20" height="20"/>
<box id="#FFCCFF" style="background-color: #FFCCFF;" width="20" height="20"/>
</row>
<row>
<box id="#CCCCCC" style="background-color: #CCCCCC;" width="20" height="20"/>
<box id="#FF6666" style="background-color: #FF6666;" width="20" height="20"/>
<box id="#FF9966" style="background-color: #FF9966;" width="20" height="20"/>
<box id="#FFFF66" style="background-color: #FFFF66;" width="20" height="20"/>
<box id="#FFFF33" style="background-color: #FFFF33;" width="20" height="20"/>
<box id="#66FF99" style="background-color: #66FF99;" width="20" height="20"/>
<box id="#33FFFF" style="background-color: #33FFFF;" width="20" height="20"/>
<box id="#66FFFF" style="background-color: #66FFFF;" width="20" height="20"/>
<box id="#9999FF" style="background-color: #9999FF;" width="20" height="20"/>
<box id="#FF99FF" style="background-color: #FF99FF;" width="20" height="20"/>
</row>
<row>
<box id="#C0C0C0" style="background-color: #C0C0C0;" width="20" height="20"/>
<box id="#FF0000" style="background-color: #FF0000;" width="20" height="20"/>
<box id="#FF9900" style="background-color: #FF9900;" width="20" height="20"/>
<box id="#FFCC66" style="background-color: #FFCC66;" width="20" height="20"/>
<box id="#FFFF00" style="background-color: #FFFF00;" width="20" height="20"/>
<box id="#33FF33" style="background-color: #33FF33;" width="20" height="20"/>
<box id="#66CCCC" style="background-color: #66CCCC;" width="20" height="20"/>
<box id="#33CCFF" style="background-color: #33CCFF;" width="20" height="20"/>
<box id="#6666CC" style="background-color: #6666CC;" width="20" height="20"/>
<box id="#CC66CC" style="background-color: #CC66CC;" width="20" height="20"/>
</row>
<row>
<box id="#999999" style="background-color: #999999;" width="20" height="20"/>
<box id="#CC0000" style="background-color: #CC0000;" width="20" height="20"/>
<box id="#FF6600" style="background-color: #FF6600;" width="20" height="20"/>
<box id="#FFCC33" style="background-color: #FFCC33;" width="20" height="20"/>
<box id="#FFCC00" style="background-color: #FFCC00;" width="20" height="20"/>
<box id="#33CC00" style="background-color: #33CC00;" width="20" height="20"/>
<box id="#00CCCC" style="background-color: #00CCCC;" width="20" height="20"/>
<box id="#3366FF" style="background-color: #3366FF;" width="20" height="20"/>
<box id="#6633FF" style="background-color: #6633FF;" width="20" height="20"/>
<box id="#CC33CC" style="background-color: #CC33CC;" width="20" height="20"/>
</row>
<row>
<box id="#666666" style="background-color: #666666;" width="20" height="20"/>
<box id="#990000" style="background-color: #990000;" width="20" height="20"/>
<box id="#CC6600" style="background-color: #CC6600;" width="20" height="20"/>
<box id="#CC9933" style="background-color: #CC9933;" width="20" height="20"/>
<box id="#999900" style="background-color: #999900;" width="20" height="20"/>
<box id="#009900" style="background-color: #009900;" width="20" height="20"/>
<box id="#339999" style="background-color: #339999;" width="20" height="20"/>
<box id="#3333FF" style="background-color: #3333FF;" width="20" height="20"/>
<box id="#6600CC" style="background-color: #6600CC;" width="20" height="20"/>
<box id="#993399" style="background-color: #993399;" width="20" height="20"/>
</row>
<row>
<box id="#333333" style="background-color: #333333;" width="20" height="20"/>
<box id="#660000" style="background-color: #660000;" width="20" height="20"/>
<box id="#993300" style="background-color: #993300;" width="20" height="20"/>
<box id="#996633" style="background-color: #996633;" width="20" height="20"/>
<box id="#666600" style="background-color: #666600;" width="20" height="20"/>
<box id="#006600" style="background-color: #006600;" width="20" height="20"/>
<box id="#336666" style="background-color: #336666;" width="20" height="20"/>
<box id="#000099" style="background-color: #000099;" width="20" height="20"/>
<box id="#333399" style="background-color: #333399;" width="20" height="20"/>
<box id="#663366" style="background-color: #663366;" width="20" height="20"/>
</row>
<row>
<box id="#000000" style="background-color: #000000;" width="20" height="20"/>
<box id="#330000" style="background-color: #330000;" width="20" height="20"/>
<box id="#663300" style="background-color: #663300;" width="20" height="20"/>
<box id="#663333" style="background-color: #663333;" width="20" height="20"/>
<box id="#333300" style="background-color: #333300;" width="20" height="20"/>
<box id="#003300" style="background-color: #003300;" width="20" height="20"/>
<box id="#003333" style="background-color: #003333;" width="20" height="20"/>
<box id="#000066" style="background-color: #000066;" width="20" height="20"/>
<box id="#330099" style="background-color: #330099;" width="20" height="20"/>
<box id="#330033" style="background-color: #330033;" width="20" height="20"/>
</row>
</rows>
</grid>
</popup>
<popup id="fontsizePopup" position="after_start" onpopupshowing="WiseStampEditors.showFontSize(event)"
onpopupshown="setOpenPopup(event)"
onpopuphidden="setHidePopup(event)">
<menuitem label="1" value="1" type="radio" oncommand="WiseStampEditors.changeFont(event,'size')"/>
<menuitem label="2" value="2" type="radio" oncommand="WiseStampEditors.changeFont(event,'size')"/>
<menuitem label="3" value="3" type="radio" oncommand="WiseStampEditors.changeFont(event,'size')"/>
<menuitem label="4" value="4" type="radio" oncommand="WiseStampEditors.changeFont(event,'size')"/>
<menuitem label="5" value="5" type="radio" oncommand="WiseStampEditors.changeFont(event,'size')"/>
<menuitem label="6" value="6" type="radio" oncommand="WiseStampEditors.changeFont(event,'size')"/>
<menuitem label="7" value="7" type="radio" oncommand="WiseStampEditors.changeFont(event,'size')"/>
</popup>
<popup id="fontnamePopup" position="after_start" onpopupshowing="WiseStampEditors.showFontName(event)"
onpopupshown="setOpenPopup(event)"
onpopuphidden="setHidePopup(event)"
>
<menuitem label="Sans Serif" value="arial,helvetica,sans-serif" type="checkbox" oncommand="WiseStampEditors.changeFont(event,'name')"/>
<menuitem label="Serif" value="times new roman,serif" type="checkbox" oncommand="WiseStampEditors.changeFont(event,'name')"/>
<menuitem label="Wide" value="arial black,sans-serif" type="checkbox" oncommand="WiseStampEditors.changeFont(event,'name')"/>
<menuitem label="Narrow" value="arial narrow,sans-serif" type="checkbox" oncommand="WiseStampEditors.changeFont(event,'name')"/>
<menuitem label="Comic Sans MS" value="comic sans ms,sans-serif" type="checkbox" oncommand="WiseStampEditors.changeFont(event,'name')"/>
<menuitem label="Courier New" value="courier new,monospace" type="checkbox" oncommand="WiseStampEditors.changeFont(event,'name')"/>
<menuitem label="Garamond" value="garamond,serif" type="checkbox" oncommand="WiseStampEditors.changeFont(event,'name')"/>
<menuitem label="Georgia" value="georgia,serif" type="checkbox" oncommand="WiseStampEditors.changeFont(event,'name')"/>
<menuitem label="Tahoma" value="tahoma,sans-serif" type="checkbox" oncommand="WiseStampEditors.changeFont(event,'name')"/>
<menuitem label="Trebuchet MS" value="trebuchet ms,sans-serif" type="checkbox" oncommand="WiseStampEditors.changeFont(event,'name')"/>
<menuitem label="Verdana" value="verdana,sans-serif" type="checkbox" oncommand="WiseStampEditors.changeFont(event,'name')"/>
</popup>
</popupset>
<hbox id="editor-toolbar-simple">
<!-- <image cmdtype='bold' class="unpressed" tooltiptext="&editor.bold.tooltip;"/> -->
<image cmdtype='bold' tooltiptext="&editor.bold.tooltip;"/>
<image cmdtype='italic' tooltiptext="&editor.italic.tooltip;"/>
<image cmdtype='underline' tooltiptext="&editor.underline.tooltip;"/>
<separator orient="vertical" class="groove" width="1"/>
<image cmdtype='fontname' popup="fontnamePopup"
tooltiptext="&editor.fontstyle.tooltip;"/>
<image cmdtype='fontsize' popup="fontsizePopup"
tooltiptext="&editor.fontsize.tooltip;"/>
<separator orient="vertical" class="groove" width="1"/>
<image id="forecolor" cmdtype='forecolor' popup="colorpicker" tooltiptext="&editor.textcolor.tooltip;"/>
<image id="hilitecolor" cmdtype='hilitecolor' popup="colorpicker" tooltiptext="&editor.highlightcolor.tooltip;"/>
<separator orient="vertical" class="groove" width="1"/>
<image cmdtype='createlink' tooltiptext="&editor.link.tooltip;"/>
<image cmdtype='createimage' tooltiptext="&editor.addimage.tooltip;"/>
<image cmdtype='createtable' hidden="true"/>
<separator orient="vertical" class="groove" width="1"/>
<image cmdtype='justifyleft' id='justifyleft' tooltiptext="&editor.alignleft.tooltip;"/>
<image cmdtype='justifycenter' id='justifycenter' tooltiptext="&editor.aligncenter.tooltip;"/>
<image cmdtype='justifyright' id='justifyright' tooltiptext="&editor.alignright.tooltip;"/>
<separator orient="vertical" class="groove" width="1" hidden="true"/>
<image cmdtype='insertorderedlist' hidden="true"/>
<image cmdtype='insertunorderedlist' hidden="true"/>
<separator orient="vertical" class="groove" width="1" hidden="true"/>
<image cmdtype='outdent' hidden="true"/>
<image cmdtype='indent' hidden="true"/>
<image cmdtype='undo' hidden="true"/>
<image cmdtype='redo' hidden="true"/>
<separator orient="vertical" class="groove" width="1"/>
<image cmdtype='ltr' tooltiptext="&editor.ltr.tooltip;"/>
<image cmdtype='rtl' tooltiptext="&editor.rtl.tooltip;"/>
</hbox>
</overlay>